package parser;

import antlr.RecognitionException;
import java.util.*;

class DeleteStmt extends Stmt {
    
    ExprList values;
    
    DeleteStmt(ExprList values) {
        this.values = values;
        // Overly conservative as this is probably del attr or item.
        deletes = true;
    }
 
    
    void write(ByteStream out) throws RecognitionException {
        out.line(line);
        for (Expr e : values)
            e.delete(out);
    }
    
}
